#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pygame
from pygame.locals import *

class clase:
	def __init__(self, main):	# Imprime el promedio de fps, y otras cosas mas adelante
		self.select = False
		self.fuente = pygame.font.Font(None, 30)
		
	def seleccionar(self,main):
		pass
	
	def click(self,main):
		pass
	
	def tecla(self,main):
		pass
	
	def proceso(self,main):
		pass
			
	def graficar(self,main):
		t = 0
		for f in main["general"]["fps"]:
			t += f
		fps = len(main["general"]["fps"])*1000/t
		main["general"]["pantalla"].blit(self.fuente.render("FPS = "+str(fps), True, (255,255,255)),(10,10))
